*{  
    margin: 0;  
    padding: 0;  
    text-decoration: none;  
    list-style: none;
    font-size: 20px;
}  
.clearfix::after{
    content: "";
    display: block;
    visibility: hidden;
    clear: both;
}
/* 标题 */
.blogname{
    width:1200px;
    margin: 0 auto;
}
.blogname p{
    height: 100px;
    line-height: 100px;
    font-size: 36px;
    text-align: center;
    float: left;
    color: #000;
}
.blogname input{
    float: right;
    width: 10rem;
    height: 2rem;
    border-radius:1rem ;
    padding-left: 0.5rem;
    font-size: 0.7rem;
    /* color: #ccc; */
    outline: none;
    border: 1px solid #333;
    margin-top: 1.45rem;
    background-image: url(../img/sousuo.png);
    background-size: 0.9rem 0.9rem;
    background-repeat: no-repeat;
    background-position: 8.5rem;
}
.blogname input:focus{
    color: #333;
}
/* 导航栏 */
.nav{
    width: 100%;
    /* background-color:#8CC7E4; */
    height: 50px;
    z-index: 99999;
    background-color: #fff;
    /* position: fixed; */
    /* top: 0; */
}
.nav-con{
    width: 1200px;
    margin: 0 auto;
}
.nav-con .nav1{
    float: left;
}
.nav li{
    width: 100px; 
    height: 50px;
    float: left;
    padding: 0 30px;
    background-color: #fff;
    /* border-bottom: 1px solid rgb(219, 219, 219); */
    /* border-bottom: 2px solid #000; */
}
.nav li{
    position: relative;
}
.nav li a{
    width: 100px;
    height: 50px;
    line-height: 50px;
    display: block;
    text-align: center;
    color: #636363;
    font-size: 14px;
    /* background-color: pink; */
}
.nav2{
    position: absolute;
    width: 100px; 
    top: 100%;
    left: 0;
    /* top: 52px; */
    /* left: 0; */
    /* display: none;  */
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    transition: all 0.5s;
}
.nav3{
    position: absolute;
    width: 100px; 
    top: 0px;
    left: 100%;
    /* display: none;  */
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    /* transition: all 0.5s; */
}
/* .nav li:hover{
    background-color: rgba(100, 100, 100, 1);
} */
.nav1 .shownav1{
    background-color: #222222;
}
.nav1 .shownav1>a{
    color: #fff;
}

/* 导航栏动画 */
.nav li:hover{
    cursor: pointer;
    background-color: #ddd;
}
.nav .shownav1:hover{
    background-color: #222;
}
.nav1 .shownav1:hover .nav2{
    /* display: block; */
    visibility: visible;
    opacity: 1;
}
.nav2 li:hover{
    background-color: #ddd;
}
.nav2 .shownav2:hover .nav3{
    /* display: block; */
    visibility: visible;
    opacity: 1;
}

/* 轮播图 */
/* .slide img:nth-child(4)::after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: #fff;
} */
.contain{
    position: relative;
}
.carousel{
    width: 100%;
    height: calc(100vh - 150px);
    overflow: hidden;
    position: relative;
}
.slide{
    width: 600%;
    position: absolute;
    top: 0;
    /* left: -100%; */
    left: 0;
    /* transition: all 1s; */
    display: flex;
}
.slide .sl{
    float: left;
    width: 100%;
    height: calc(100vh - 150px);
    position: relative;
    /* flex-shrink: 0; */
}
/* .slide .s1::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color:rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
} */
.sl img{
    width: 100%;
    height: calc(100vh - 150px);
    display: block;
}
.sl .cover{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 90%;
}
.sl h1{
    position: absolute;
    font-size: 36px;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}
.sl p{
    color:#fff;
    width: 100px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #fff;
    border-radius: 15px;
    /* height: 50px; */
    text-align: center;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(255,255 ,255 ,0 );
}

.but button{
    position: absolute;
    width: 30px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 32px;
    color: #fff;
    background-color:rgba(15, 25, 32, 0);
    outline: none;
    border: none;
    cursor: pointer;
}
.but .left{
    top: 50%;
    left: 10px;
    transform: translate(0,-50%);
}
.but .right{
    top: 50%;
    right: 10px;
    transform: translate(0,-50%);
}
.indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%,0);
}
.indicator li{
    float: left;
    background-color: #fff;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    /* transition: all 2s; */
}


/* ************************************************************ */
/* 主要内容 */ 
.contain2{
    width: 60rem;
    margin: 4rem auto;
    position: relative;
    left: 0;
    /* animation: slidein 1s; */
}
@keyframes slidein{
    from{top:10rem;}
    to{top:0;}
}
@-webkit-keyframes slidein{
    from{top:10rem;}
    to{top:0;}
}
.main{
    width:42rem;
    border: 1px solid #eee;
    float: left;
}
.main-nav{
    width: 100%;
    height: 4rem;
    /* border: 1px solid #333; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.main-nav li{
    display: inline-block;
    text-align: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}
.main-nav li:hover{
    color: rgb(145, 59, 59);
}
.main-nav .line{
    color: #eee;
}

.main-con .con2,.con3,.con4{
    display: none;
}


.wrap{
    width: 100%;
    transition: all 0.2s;
}
.wrap-con1{
    width: 100%;
    height: 15rem;
    border-bottom: 1px solid #eee;
    transition: all 0.5s;
}
.wrap-con1:hover{
    background-color: rgb(245, 245, 245);
}
.wrap-con1 img{
    width: 10rem;
    height: 13rem;
    display: block;
    float: left;
    margin: 1rem;
    /* animation: bigger 1s linear infinite; */
}
.wrap-con1 img:hover{
    animation: bigger 0.6s linear ;
}
@keyframes bigger{
    0%{
        -webkit-transform: scale(1);
    }
    50%{
        -webkit-transform: scale(1.05);
    }
    100%{
        -webkit-transform: scale(1);
    }
}
.wrap-con1 .wrap-con2{
    float: right;
    width: 30rem;
    margin-top: 1rem;
    height: 13rem;
    position: relative;
}
.wrap-con1 .wrap-con2 a{
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.wrap-con2 .wrap-con3{
    position: absolute;
    bottom: 0;
    color: #333;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.wrap-con3 .time{
    padding-right: 1rem; 
}
.wrap-con3 .visited{
    padding-right: 1rem;
}

/* 主要内容中的留言板 */
.communicate{
    /* margin-top: 2rem; */
    /* margin-bottom: 2rem; */
    border: 1px solid #eee;
    padding-top: 4rem;
}
.communicate label{
    display: block;
    margin-bottom: 1rem;
    /* font-size: 0.7rem; */
}
.communicate span{
    display: inline-block;
    width: 6.5rem;
    vertical-align: top;
    font-size: 1rem;
}
.communicate textarea{
    resize: none;
}
.communicate button{
    display: block;
    outline: none;
    border: none;
    background:linear-gradient(90deg,rgb(120, 207, 241),rgb(145, 152, 248));
    color: #fff;
    width: 25rem;
    height: 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s;
    margin-bottom: 1rem;
}
.communicate button:hover{
    background:linear-gradient(90deg,rgb(120, 207, 241),rgb(145, 152, 248));
    color: #fff;
}
.communicate ul span{
    color: rgb(0, 0, 0);
    font-size: 1rem;
    /* background-color: pink; */
}
.communicate li{
    margin-right: 0.5rem;
    color: #666;
    font-size: 0.8rem;
    display: inline-block;
    /* background-color: antiquewhite; */
    vertical-align: top;
    width: 35rem;
    word-break: break-all;
    margin-bottom: 2rem;
}

.aside{
    width: 15rem;
    /* height: 15rem; */
    /* border: 1px solid #eee; */
    float: right;
}
.aside-con{
    width: 100%;
    margin-bottom: 2rem;
}
.aside-con-title{
    width: 14rem;
    height: 2rem;
    line-height: 2rem;
    padding-left: 1rem;
    color: #666;
    border-bottom: 1px solid #eee;
    background-color: #eee;
}
.aside .person{
    height: 10rem;
    border: 1px solid #eee;
}
.person .aside-con3{
    float: right;
    color: #333;
    margin-top: 1rem;
}
.person .aside-con2 img{
    float: left;
    display: block;
    width: 6rem;
    height: 6rem;
    margin: 1rem;
}
.person .aside-con3{
    margin-right: 2rem;
}
.person h4{
    font-size: 1.2rem;
}
.person button{
    display: inline-block;
    outline: none;
    border: none;
    width: 3rem;
    height: 1.2rem;
    border-radius:0.6rem;
    color: #333;
    font-size: 0.7rem;
    text-align: center;
    margin:1rem 0 0;
    cursor: pointer;
    font-weight: 600;
}
.person button:hover{
    background:linear-gradient(90deg,rgb(227, 241, 247),rgb(213, 215, 243));
    /* color: #eee; */
}
.person .aside-con3 i{
    background-image: url(../img/xinfeng.png);
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.3s;
}
.person .aside-con3 i:hover{
    background-image: url(../img/xinfengkai.png);
}


.tag{
    border: 1px solid #eee;
}
.tag li{
    float: left;
    padding: 0 1rem;
    background-color: #ddd;
    height: 1.4rem;
    margin: 0.7rem 0.5rem;
    transition: all 0.3s;
    border-radius:0;
}
.tag a{
    display: block;
    height: 100%;
    width: 100%;
    color: #333;
    transition: all 0.3s;
}
.tag li:hover{
    background:linear-gradient(90deg,rgb(227, 241, 247),rgb(213, 215, 243));
    border-radius: 50% 0 50% 0;
}
.tag li:hover a{
    color: rgb(62, 71, 151);
}


.link{
    border: 1px solid #eee;
}
.link a{
    color: #333;
    font-size: 0.8rem;
    display: block;
}
.link li{
    margin: 0.8rem 1rem;
}





/* 侧边 */
.sidebar{
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 3rem;
    background-color: rgb(243, 243, 243);
    transition: all 0.1s;
}
.sidebar:hover{
    border-radius: 50%;
    background:linear-gradient(90deg,rgb(120, 207, 241),rgb(145, 152, 248));
}
.sidebar img{
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}